//
//  HLGiftLiveShowModel.h
//  YueYue
//
//  Created by hulu001 on 2024/1/2.
//

#import <Foundation/Foundation.h>
#import "HLGiftLiveUserModel.h"
#import "HLGiftLiveListModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface HLGiftLiveShowModel : NSObject

@property (nonatomic ,strong) HLGiftLiveListModel *giftModel;

@property (nonatomic ,strong) HLGiftLiveUserModel *user;

@property (nonatomic, assign) NSUInteger currentNumber;/** 当前送礼数量 */

// 连续动画时使用
@property (nonatomic, assign) NSUInteger toNumber;/** 连续增加的数量 */
@property (nonatomic, assign) CGFloat interval;/** 连续增加时动画间隔 */
@property (nonatomic, strong) dispatch_source_t animatedTimer;

+ (instancetype)giftModel:(HLGiftLiveListModel *)giftModel userModel:(HLGiftLiveUserModel *)userModel;

@end

NS_ASSUME_NONNULL_END
